<?php
/**
 * Nyelvek.
 */

	$langRecords = SiteDBHelper::getLanguages();
	if(is_null($langRecords))
	{
		Log::fatal("failed to read up languages, site will exit...");
		exit('langugeas init failed!');
	}
	foreach($langRecords as $langRecord)
	{
		TextHandler::addLanguage(new Language($langRecord['langcode'], $langRecord['name']));
	}

?>